home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-19 | 937 b | 33 lines | [TEXT/CWIE] |
- // ===========================================================================
- // CTridentIdler.h ©1995 Metrowerks Inc. All rights reserved.
- //
- // ===========================================================================
-
- #ifdef __MWERKS__
- # pragma once
- #endif
- #include "CTridentView.h"
- #include <LPeriodical.h>
- class CTridentView;
-
- /*
- class CHeartBeatMonitor : public LPeriodical
- {
- public:
- CHeartBeatMonitor(const Boolean &inMonitor);
- virtual void SpendTime(const EventRecord &inMacEvent);
- void ResetTicks();
- short fLastHeartBeat; //ticks! 1/60th second
- };
- */
- class CHeartBeatIdler : public LPeriodical
- {
- public:
- CHeartBeatIdler();
- virtual void SpendTime(const EventRecord &inMacEvent);
- void ResetTicks();
- void SetOwnerView(CTridentView* theOwner);
- long fLastHeartBeat; //ticks! 1/60th second
- CTridentView* fOwnerView; //who will sent AE when the time comes!
- };
-